package com.beauty.dressing.common.bean;

/**
 * @author xutingz
 * @E-mail xutz@xianlanba.com
 * @date 2018/5/23
 */

public class ShopCarBean extends BaseBean{

    public long _id; //数据库自增长id
    public long id;
    public String name;
    public String imgUrl;
    public float price;    //单价
    public float deposit; //租金
    public int count;
    public int type; //类型
    public long insertTime; //插入数据库时间

    public boolean isSelectd; //是否选中
    private boolean mPinned; //是否打开，true为打开

    public boolean isPinned() {
        return mPinned;
    }

    public void setPinned(boolean mPinned) {
        this.mPinned = mPinned;
    }

    public ShopCarBean(){

    }
    /**
     * 数据库构造方法
     * @param _id
     * @param shopId
     * @param name
     * @param imgUrl
     * @param price
     * @param deposit
     * @param count
     */
    public ShopCarBean(long _id, long shopId, String name, String imgUrl, float price, float deposit, int count,int type,long insertTime) {
        this._id = _id;
        this.id = shopId;
        this.name = name;
        this.imgUrl = imgUrl;
        this.price = price;
        this.deposit = deposit;
        this.count = count;
        this.type = type;
        this.insertTime = insertTime;
    }
}
